package com.njtoyo.taxi.admin.mapper.master.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.library.Const;
import com.njtoyo.taxi.admin.mapper.master.entity.DriverDeviceAutoVersion;
import com.njtoyo.taxi.admin.rest.presenter.platfrom.CarAppDevicePresenter;
import com.njtoyo.taxi.admin.rest.presenter.platfrom.CarAppVersionPresenter;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@DS(Const.PRIMARY_DS)
public interface DriverDeviceAutoVersionMapper extends BaseMapper<DriverDeviceAutoVersion> {
    Page<CarAppVersionPresenter> getPageList(Page<DriverDeviceAutoVersion> page);

    List<CarAppDevicePresenter> getDeviceList();
}
